package programs;

import java.util.ArrayList;
import operations.Operation;

public abstract class Program extends ArrayList<Operation> {
	
	protected Program() { }
	
	public String toString() {
		StringBuilder outputString = new StringBuilder();
		
		for (int i = 0; i < this.size(); i++) {
			outputString.append(i + " ");
			outputString.append(get(i) + "\n");
		}
		
		return outputString.toString();
	}
}
